//
//  PGSegmentCtrl.h
//  EpointFrame5
//
//  Created by Pill Gong on 14-4-16.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import <UIKit/UIKit.h>

#define PGSegmentCtrlWidth 80.0f
#define PGSegmentCtrlHeight 26.0f

@class PGSegmentCtrl;

@protocol PGSegmentCtrlDelegate <NSObject>

- (void)segmentCtrlDidSelected:(PGSegmentCtrl *)segmentCtrl;

@end

@interface PGSegmentCtrl : UIView

@property (nonatomic, assign) id<PGSegmentCtrlDelegate> delegate;

@property (nonatomic) NSInteger selectedSegmentIndex;

- (void)setEnabled:(BOOL)enabled forSegmentAtIndex:(NSUInteger)segment;

@end
